package com.xuetang9.t9.hotel.beans;

import java.util.Date;
import java.util.List;

/**
 * @Classname ETakeoutOrder
 * @Description TODO
 * @Date 2020/3/6 15:43
 * @Created by ASUS
 */
public class ETakeoutOrder {
    private Long id;
    private Date orderTime;
    private Integer totalPrice;
    private String state;
    private Date takeTime;
    private String remark;
    private List<ETakeoutFood> takeoutFoods;

    public ETakeoutOrder() {
    }

    public ETakeoutOrder(Date orderTime, Integer totalPrice, String state,String remark, List<ETakeoutFood> takeoutFoods) {
        this.orderTime = orderTime;
        this.totalPrice = totalPrice;
        this.state = state;
        this.remark = remark;
        this.takeoutFoods = takeoutFoods;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public Integer getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(Integer totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public Date getTakeTime() {
        return takeTime;
    }

    public void setTakeTime(Date takeTime) {
        this.takeTime = takeTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<ETakeoutFood> getTakeoutFoods() {
        return takeoutFoods;
    }

    public void setTakeoutFoods(List<ETakeoutFood> takeoutFoods) {
        this.takeoutFoods = takeoutFoods;
    }

    @Override
    public String toString() {
        return "ETakeoutOrder{" +
                "id=" + id +
                ", orderTime=" + orderTime +
                ", totalPrice=" + totalPrice +
                ", state='" + state + '\'' +
                ", takeTime=" + takeTime +
                ", takeoutFoods=" + takeoutFoods +
                '}';
    }
}
